package cn.hs.entity;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName articletype
 */
@Data
@NoArgsConstructor
public class Articletype implements Serializable {
    private Integer id;

    private String name;

    private static final long serialVersionUID = 1L;




    public Articletype(Integer id, String name)
    {
        this.id = id;
        this.name = name;
    }


    //分类下的article集合
    public List<Article> articleList;

    public List<Article> getArticle() {
        return articleList;
    }

    public void setArticleList(List<Article> articleList) {
        this.articleList = articleList;
    }


}